package com.ship.dispatch.mapper.fob;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ship.dispatch.bean.fob.SpFobLabelGroup;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

/**
 * @author yl
 * @title SpFobLabelGroupMapper
 * @description 标签组mapper
 * @create 2023/12/23 0023
 */
public interface SpFobLabelGroupMapper extends BaseMapper<SpFobLabelGroup> {
    @Select("${groupSql} limit 1")
    Map<String, String> selectGroupSql(@Param("groupSql") String groupSql,@Param("processsInstanceId") String processsInstanceId);
    @Select("${labelSql} limit 1")
    String selectLabelSql(@Param("labelSql") String labelSql,@Param("processsInstanceId") String processsInstanceId);
}
